var App = require("../../base/app");
var utils = require("../../utils/utils");
var common = require("./common");
var baiDuJiSu = new App("百度极速版", {
  interval: 10,
});
var aRead = require("./aRead");
var aBless = require("./aBless");
var aTreasure = require("./aTreasure");
var inTask = require("./inTask");
baiDuJiSu.run = function () {
  aRead.flow();

  if (common.inHome()) {
    sleep(utils.getRandom(1.5, 2, 1000));
    common.toTask();
    sleep(utils.getRandom(5, 12, 1000));
    inTask.run();
    aTreasure.flow();
  }
  sleep(utils.getRandom(2, 3, 1000));
  aBless.flow();
};

module.exports = baiDuJiSu;
